applicationwindow: Fix code sample
authorTimm Bäder <mail@baedert.org>
Wed, 11 Oct 2017 10:41:47 +0000 (12:41 +0200)
committerTimm Bäder <mail@baedert.org>
Wed, 11 Oct 2017 10:41:47 +0000 (12:41 +0200)
commit0f8abcd112664b26aeb8170b970654d889762026
treeabb8d5053a3ec606bd5888df6a08c532a0ad8137
parent236098f89b40b2e3499f4c4b7f4f54cb0430970f
applicationwindow: Fix code sample

Declare all variables, use proper GtkApplication constructor and the
right GTK_APPLICATION() cast for gtk_application* API.
gtk/gtkapplicationwindow.c